package com.njbw.user.convert;

import com.njbw.user.entity.po.SysUserPo;
import com.njbw.user.entity.req.SysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SysUserConverter {

    // 生成一个代理
    SysUserConverter INSTANCE = Mappers.getMapper(SysUserConverter.class);

    SysUserPo convertReqToPo(SysUserReq sysUserReq);
}
